/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package core.connector.email.http.bigstring;

/**
 *
 * @author Vinicius
 */
public class MailEntry {

    private String      filename;
    private boolean     hasAttach;
    private long        size;
    private int         id;

    public MailEntry(String filename, boolean hasAttach, long size,int id) {
        this.filename = filename;
        this.hasAttach = hasAttach;
        this.size = size;
        this.id = id;
    }

    public String getFilename() {
        return filename;
    }

    public boolean isHasAttach() {
        return hasAttach;
    }

    public long getSize() {
        return size;
    }

    public int getId() {
        return id;
    }

    @Override
    public String toString() {
        return "MailEntry{" + "filename=" + filename + "; hasAttach=" + hasAttach + "; size=" + size + "; id=" + id +'}';
    }

}
